﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
 
   <CustomAction
      Title ="Edit SPWiki file"
      Description="Providing Context Menus for SPWiki files"
      Id="SpWiki.CustomActions.ContextMenu.Edit"
      RegistrationId="0x0101004a0d3b217b394101bf41f814ed461aed"
      RegistrationType="ContentType"
      Rights="EditListItems"
      Location="EditControlBlock"
      Sequence="100"
      ImageUrl="/_layouts/images/SpWiki/edit.png">
      <UrlAction Url="javascript:window.location='{SiteUrl}/_layouts/SpWiki/Forms/Edit.aspx?SpWikiList={ListId}&amp;SpWikiID={ItemId}';"/>
   </CustomAction>

   <CustomAction
      Title ="View SPWiki file"
      Description="Providing Context Menus for SPWiki files"
      Id="SpWiki.CustomActions.ContextMenu.View"
      RegistrationId="0x0101004a0d3b217b394101bf41f814ed461aed"
      RegistrationType="ContentType"
      Rights="ViewPages"
      Location="EditControlBlock"
      Sequence="101"
      ImageUrl="/_layouts/images/SpWiki/view.png">
      <UrlAction Url="javascript:window.location='{SiteUrl}/_layouts/SpWiki/Forms/View.aspx?SpWikiList={ListId}&amp;SpWikiID={ItemId}';"/>
   </CustomAction>
</Elements>
